package io.dshubs.archives.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.dshubs.archives.entity.ArchiveReorginze;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *    收集整编
 * </p>
 *
 * @author zhang
 * @since 2021-09-05
 */
@Mapper
public interface ArchiveReorginzeMapper extends BaseMapper<ArchiveReorginze> {

    @Select("SELECT FORM_JSON FROM `T_FLOWABLE_FORM` WHERE FORM_KEY = #{formKey} ")
    String getFormData(String formKey);

    @Select("SELECT FORM_KEY FROM `T_FLOWABLE_FORM` ")
    List<String> getFormDataList();

}
